/**
 * JimingLiu created the file at 2006-12-18 下午07:21:54
 * $Id$
 */
package jm.lib.lang;

/**
 * 
 * Wrap an object so the object's toString() can be used as a bean properties 
 * 
 * @author JimingLiu
 *
 */
public class StringWrapper {
    private Object object;

    public StringWrapper() {}
    
    public StringWrapper(Object value) {
        this.object = value;
    }
    
    
    /**
     * @return the wrapped object
     */
    public Object getObject() {
        return object;
    }

    /**
     * @param value the wrapped object to set
     */
    public void setObject(Object value) {
        this.object = value;
    }
    
    public String getValue() {
        return this.object.toString();
    }
}
